import Vue from 'vue'
import App from './App'
import httpUtil from '@/api/api.js'
Vue.config.productionTip = false

App.mpType = 'app'

Vue.prototype.http= httpUtil//赋值到vue里面

// #ifdef H5  
import wechat from '@/api/wechat.js'  
if(wechat.isWechat()){  
    Vue.prototype.$wechat = wechat;  
}  
// #endif   
const app = new Vue({
    ...App
})
app.$mount()
